<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar showPerson :datas="{formData:form}" psTagType="PERSON_PENSION_QUERY" personType="PERSON_ALL_EXACT">
                <ep-button id="cal" api="doQuery" type="primary"
                           :datas="{formData: form,tableData:tableData1,tableData3:tableData4,tableData5:tableData6,panel:panel}"
                           name="计算"></ep-button>
                <ep-saveButton id=""  type="primary"
                               :datas="{formData: form,tableData1:tableData1,tableData2:tableData2,tableData3:tableData3}"></ep-saveButton>
                <ep-button id="" api="doAudit"  type="primary"
                           :datas="{formData: form,tableData1:tableData1,tableData2:tableData2,tableData3:tableData3}"
                           name="审核"></ep-button>
            </epl-top-bar>
            <epl-userMessage dataType="person" idCount = "6">
                <!--<template slot-scope="scope">-->
                <!--<epl-userMessageItem title="当前待遇" :sum="form.aic169.value">-->
                <!--<epl-column label="扣发总月份" :value="form.bac062.value"></epl-column>-->
                <!--<epl-column label="补扣发总金额" :value="'￥'+form.bac063.value"></epl-column>-->
                <!--</epl-userMessageItem>-->
                <!--</template>-->
            </epl-userMessage>
            <el-card class="ep-card">
                <el-tabs v-model="activeName2" type="card">
                    <el-tab-pane label="退休人员基本信息" name="first">
                        <el-collapse v-model="activeNames" @change="handleChange">
                            <el-collapse-item title="离退休基本信息" name="2">
                                <el-card class="ep-card">
                                    <el-form :model="form" :rules="rules">
                                        <el-row :gutter="10">
                                            <ep-date colspan="8" label="待遇开始年月" name="aic160" :property="form.aic160" p="R" format="yyyyMM" value-format="yyyyMM"
                                                     :datas="{formData:form}" placeholder="请输入待遇开始年月" ></ep-date>
                                            <ep-select colspan="8" label="管理形式" name="aae146" :property="form.aae146" codetype="AAE146"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入管理形式"></ep-select>
                                            <ep-dateYMD label="累计缴费年限" type="YY-MM" colspan="8" name="ljnx" :property="form.ljnx" p="D"
                                                        :datas="{formData: form}"></ep-dateYMD>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-select colspan="8" label="发放途径" name="aae145" :property="form.aae160" codetype="AAE145"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入发放途径"></ep-select>
                                            <ep-dateYMD label="实际缴费年限" type="YY-MM" colspan="8" name="aae201" :property="form.aae201" p="D"
                                                        :datas="{formData: form}"></ep-dateYMD>
                                            <ep-dateYMD label="视同缴费年限" type="YY-MM" colspan="8" name="aae200" :property="form.aae200" p="D"
                                                        :datas="{formData: form}"></ep-dateYMD>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-select colspan="8" label="账户总金额" name="aic165" :property="form.aae160" codetype="AIC165"
                                                       p="D"  :datas="{formData:form}"></ep-select>
                                            <ep-dateYMD label="合同制或事业缴费" type="YY-MM" colspan="8" name="aae201" :property="form.aae201" p="D"
                                                        :datas="{formData: form}"></ep-dateYMD>
                                            <ep-dateYMD label="中断缴费年限" type="YY-MM" colspan="8" name="zdjf" :property="form.aae200" p="D"
                                                        :datas="{formData: form}"></ep-dateYMD>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-input colspan="8" label="个人部分比例" name="aic167" :property="form.aic167" p="D"
                                                      :datas="{formData:form}" placeholder="请输入个人部分比例"></ep-input>
                                            <ep-input colspan="8" label="养老金占比例" name="aic166" :property="form.aic166" p="D"
                                                      :datas="{formData:form}" placeholder="请输入养老金占比例"></ep-input>
                                            <ep-select colspan="8" label="发放丧葬抚恤金标识" name="bic119" :property="form.bic119" codetype="BIC119"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入发放丧葬抚恤金标识"></ep-select>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-select colspan="8" label="补扣发放途径" name="bic121" :property="form.bic121" codetype="BIC121"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入补扣发放途径"></ep-select>
                                            <ep-select colspan="8" label="待遇调整标识" name="bic120" :property="form.bic120" codetype="BIC120"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入待遇调整标识"></ep-select>
                                            <ep-input colspan="8" label="享受最低基本养老金" name="bic126" :property="form.bic126" p="D"
                                                      :datas="{formData:form}" placeholder="请输入享受最低基本养老金"></ep-input>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-input colspan="8" label="行业档案养老金" name="bic122" :property="form.bic122" p="R"
                                                      :datas="{formData:form}" placeholder="请输入行业档案养老金"></ep-input>
                                            <ep-input colspan="8" label="06年调整额" name="bic123" :property="form.bic123" p="R"
                                                      :datas="{formData:form}" placeholder="请输入06年调整额"></ep-input>
                                            <ep-input colspan="8" label="浮动物价补贴" name="bic124" :property="form.bic124" p="R"
                                                      :datas="{formData:form}" placeholder="请输入浮动物价补贴"></ep-input>
                                        </el-row>
                                        <el-row :gutter="10">

                                            <ep-input colspan="8" label="山区海岛补贴" name="bic125" :property="form.bic125" p="R"
                                                      :datas="{formData:form}" placeholder="请输入山区海岛补贴"></ep-input>
                                            <ep-input colspan="8" label="邮政编码" name="aae007" :property="form.aae007" p="R"
                                                      :datas="{formData:form}" placeholder="请输入邮政编码"></ep-input>
                                            <ep-input colspan="8" label="邮政地址" name="bic127" :property="form.bic127" p="R"
                                                      :datas="{formData:form}" placeholder="请输入邮政地址"></ep-input>
                                        </el-row>
                                    </el-form>
                                </el-card>
                            </el-collapse-item>
                            <el-collapse-item title="联系人信息" name="3">
                                <el-card class="ep-card">
                                    <el-form :model="form" :rules="rules">
                                        <el-row :gutter="10">
                                            <ep-input colspan="8" label="联系人姓名" name="aae004" :property="form.aae004" p="R"
                                                      :datas="{formData:form}" placeholder="请输入联系人姓名">></ep-input>
                                            <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" p="R"
                                                      :datas="{formData:form}" placeholder="请输入联系电话">></ep-input>
                                            <ep-input colspan="8" label="联系地址" name="aae006" :property="form.aae006" p="R"
                                                      :datas="{formData:form}" placeholder="请输入联系地址">></ep-input>
                                        </el-row>
                                    </el-form>
                                </el-card>
                            </el-collapse-item>
                            <el-collapse-item title="发放信息" name="4">
                                <el-card class="ep-card">
                                    <el-form :model="form" :rules="rules">
                                        <el-row :gutter="10">
                                            <ep-select colspan="8" label="支付方式" name="aae145" :property="form.aae145" codetype="AAE145"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入支付方式"></ep-select>
                                            <ep-select colspan="8" label="发放银行" name="aaz065" :property="form.aaz065" codetype="AAZ065"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入发放银行"></ep-select>
                                            <ep-input colspan="8" label="银行账号" name="aae010" :property="form.aae010" p="R"
                                                      :datas="{formData:form}" placeholder="请输入银行账号"></ep-input>
                                        </el-row>
                                        <el-row :gutter="10">
                                            <ep-select colspan="8" label="开户行行号" name="aaf002" :property="form.aaf002" codetype="AAF002"
                                                       p="R"  :datas="{formData:form}" placeholder="请输入开户行行号"></ep-select>
                                            <ep-input colspan="8" label="银行户名" name="aae010" :property="form.aae010" p="R"
                                                      :datas="{formData:form}" placeholder="请输入银行户名"></ep-input>
                                            <ep-input colspan="8" label="开户银行名称" name="bac049" :property="form.bac049" p="R"
                                                      :datas="{formData:form}" placeholder="请输入开户银行名称"></ep-input>
                                        </el-row>
                                    </el-form>
                                </el-card>
                            </el-collapse-item>
                        </el-collapse>
                    </el-tab-pane>
                    <el-tab-pane label="离退休人员待遇信息" name="second">
                        <ep-table :data="tableData" :pager="50">
                            <ep-table-column editor="text" name="aaa036" header="待遇项目"></ep-table-column>
                            <ep-table-column editor="text" name="aaa037" header="待遇项目名称"></ep-table-column>
                            <ep-table-column editor="text" name="aae041" header="享受开始年月"></ep-table-column>
                            <ep-table-column editor="text" name="aae042" header="享受结束年月"></ep-table-column>
                            <ep-table-column editor="text" name="eia008" header="养老待遇金额"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                    <el-tab-pane label="待遇计算标准与比对过程" name="third" >
                        <ep-title>新办法计算待遇信息</ep-title>
                        <el-card class="ep-card">
                            <el-form :model="form" :rules="rules">
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="基础养老金" name="xbfylj" :property="form.xbfylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xbfa1" :property="form.xbfa1" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="个人账户养老金" name="xbfgrylj" :property="form.xbfgrylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xbfa2" :property="form.xbfa2" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="过渡性养老金" name="xbfgdylj" :property="form.xbfgdylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xbfa3" :property="form.xbfa3" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="24" label="月基本养老金" name="xbfyylj" :property="form.xbfyylj" p="D"
                                              :datas="{formData:form}" style="text-align:center"></ep-input>
                                </el-row>
                            </el-form>
                        </el-card>
                        <ep-title>老办法计算待遇信息</ep-title>
                        <el-card class="ep-card">
                            <el-form :model="form" :rules="rules">
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="基础养老金" name="lbfylj" :property="form.lbfylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="lbfa1" :property="form.lbfa1" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="个人账户养老金" name="lbfgrylj" :property="form.lbfgrylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="lbfa2" :property="form.lbfa2" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="过渡性养老金" name="lbfgdylj" :property="form.lbfgdylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="lbfa3" :property="form.lbfa3" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="24" label="月基本养老金" name="lbfyylj" :property="form.lbfyylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                            </el-form>
                        </el-card>
                        <ep-title>新老对比实际计发</ep-title>
                        <el-card class="ep-card">
                            <el-form :model="form" :rules="rules">
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="新老对比后养老金" name="xlbdylj" :property="form.xlbdylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xlbda1" :property="form.xlbda1" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="过渡性调节金" name="xlbdtjj" :property="form.xlbdtjj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xlbda2" :property="form.xlbda2" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="月应发基本养老金" name="xlbdyfylj" :property="form.xlbdyfylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xlbda3" :property="form.xlbda3" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="当年最低养老金待遇水平" name="dnzdylj" :property="form.dnzdylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xlbda3" :property="form.dnzda1" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                                <el-row :gutter="10">
                                    <ep-input colspan="8" label="月核定基本养老金" name="yhdylj" :property="form.yhdylj" p="D"
                                              :datas="{formData:form}"></ep-input>
                                    <ep-input colspan="16" label="计算依据" name="xlbda3" :property="form.yhda2" p="D"
                                              :datas="{formData:form}"></ep-input>
                                </el-row>
                            </el-form>
                        </el-card>
                    </el-tab-pane>
                    <el-tab-pane label="工资指数信息" name="wages">
                        <ep-table :data="tableData3" :pager="20" rowDbClick>
                            <ep-table-column editor="text" name="aae100" header="年度"></ep-table-column>
                            <ep-table-column editor="text" name="aae180" header="缴费基数"></ep-table-column>
                            <ep-table-column editor="text" name="aaa016" header="上年省社平"></ep-table-column>
                            <ep-table-column editor="text" name="aae201" header="缴费月数"></ep-table-column>
                            <ep-table-column editor="text" name="aic164" header="缴费指数"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                    <el-tab-pane label="养老账户信息" name="account">
                        <ep-table :data="tableData4" :pager="20" rowDbClick>
                            <ep-table-column editor="text" header="待遇变更类型" name="aaa099"></ep-table-column>
                            <ep-table-column editor="text" header="变更年月" name="aae041"></ep-table-column>
                            <ep-table-column editor="text" header="变更原因" name="aae160"></ep-table-column>
                            <ep-table-column editor="text" header="经办时间" name="aae036"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                    <el-tab-pane label="离退休补发待遇信息" name="replacement">
                        <ep-table :data="tableData5" :pager="20" rowDbClick>
                            <ep-table-column editor="text" name="aaa037" header="待遇项目名称"></ep-table-column>
                            <ep-table-column editor="text" name="aae041" header="享受开始年月"></ep-table-column>
                            <ep-table-column editor="text" name="aae042" header="享受结束年月"></ep-table-column>
                            <!-- <ep-table-column editor="text" name="bac062" header="补退发月数"></ep-table-column> -->
                            <ep-table-column editor="text" name="bac063" header="补退发金额"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                    <el-tab-pane label="待遇计算标准过程" name="cal" >
                        <ep-table :data="tableData7" :pager="20" rowDbClick style="width: 100%">
                            <ep-table-column editor="text" name="eia004" header="规则编码" width="100"></ep-table-column>
                            <ep-table-column editor="text" name="eia005" header="规则名称" width="280"></ep-table-column>
                            <ep-table-column editor="text" name="aaa036" header="待遇项目" width="100"></ep-table-column>
                            <ep-table-column editor="text" name="aaa037" header="待遇项目名称"></ep-table-column>
                            <ep-table-column editor="text" name="eia008" header="待遇计算值"></ep-table-column>
                            <ep-table-column editor="text" name="eia016" header="待遇计算依据" width="480"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                    <el-tab-pane label="待遇调整列表" name="pay">
                        <ep-table :data="tableData6" edited="true" :pager="20">
                            <ep-table-column editor="text" name="aaa036" header="待遇类别"></ep-table-column>
                            <ep-table-column editor="text" name="aaa037" header="业务期"></ep-table-column>
                            <ep-table-column editor="text" name="aae019" header="补退开始年月"></ep-table-column>
                            <ep-table-column editor="text" name="bac062" header="补退结束年月"></ep-table-column>
                            <ep-table-column editor="text" name="bac063" header="人员类别"></ep-table-column>
                            <ep-table-column editor="text" name="aaa036" header="调整前总额"></ep-table-column>
                            <ep-table-column editor="text" name="aaa037" header="调整后总额"></ep-table-column>
                            <ep-table-column editor="text" name="aae019" header="调整数值"></ep-table-column>
                            <ep-table-column editor="text" name="bac062" header="调整月数"></ep-table-column>
                            <ep-table-column editor="text" name="bac063" header="补退类别"></ep-table-column>
                            <ep-table-column editor="text" name="bac063" header="补退金额"></ep-table-column>
                        </ep-table>
                    </el-tab-pane>
                </el-tabs>
            </el-card>
        </el-main>
    </el-main>
</template>
<script type="es6">
    export default {
        data() {
            return {
                form:{
                    aic160: {
                        value: '',
                        p: 'R'
                    },
                    aae146: {
                        key: '',
                        value: '',
                        p: 'R'
                    },
                    ljnx: {
                        value: '',
                        p: 'D'
                    },
                    aae160: {
                        key: '',
                        value: '',
                        p: 'R'
                    },
                    aae201: {
                        value: '',
                        p: 'D'
                    },
                    aae200: {
                        value: '',
                        p: 'D'
                    },
                    aae160: {
                        key: '',
                        value: '',
                        p: 'D'
                    },
                    aae201: {
                        value: '',
                        p: 'D'
                    },
                    aae200: {
                        value: '',
                        p: 'D'
                    },
                    aic167: {
                        value: '',
                        p: 'D'
                    },
                    aic166: {
                        value: '',
                        p: 'D'
                    },
                    bic119: {
                        key: '',
                        value: '',
                        p: 'R'
                    },
                    bic121: {
                        key: '',
                        value: '',
                        p: 'R'
                    },
                    bic120: {
                        key: '',
                        value: '',
                        p: 'R'
                    },
                    bic126: {
                        value: '',
                        p: 'D'
                    },
                    bic122: {
                        value: '',
                        p: 'R'
                    },
                    bic123: {
                        value: '',
                        p: 'R'
                    },
                    bic124: {
                        value: '',
                        p: 'R'
                    },
                    bic125: {
                        value: '',
                        p: 'R'
                    },
                    aae007: {
                        value: '',
                        p: 'R'
                    },
                    bic127: {
                        value: '',
                        p: 'R'
                    },

                },
                tableData: [],
                tableData3: [],
                tableData4: [],
                tableData5: [],
                tableData6: [],
                tableData7: [],
                activeNames:['2'],
                activeName2:'first',
                rules:{
                    aic160: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    aae146: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    aae160: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic119: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic121: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic120: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic122: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic123: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic124: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic125: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    aae007: [
                        {required: true, message: '必填项，不能为空'}
                    ],
                    bic127: [
                        {required: true, message: '必填项，不能为空'}
                    ],

                },
                codeTypes:{

                },
                pager: {
                    page: 1,
                    size: 10
                },
                total: 0,
            }
        },
        computed: {
            backFun() {
                return this.$store.getters.backFun;
            },
            init_formData() {
                if (this.$store.getters.init.path !== this.$route.path)  return;
                return this.$store.getters.init.form;
            },
            doInitformData: {
                get: function () {
                    if (this.$store.getters.common === null) return [];
                    if (this.$store.getters.common.path !== this.$route.path) return;
                    return this.$store.getters.common.formData;
                },
                set: function (newValue) {
                    if (newValue.path !== this.$route.path) return;
                    return newValue;
                }
            },
            init_tableData1() {
                return this.$store.getters.init.tableData1;
            },
            doInittableData1: {
                get: function () {
                    if (this.$store.getters.init === null) return [];
                    if (this.$store.getters.init.path !== this.$route.path) return;
                    return this.$store.getters.init.tableData1;
                },
                set: function (newValue) {
                    if (newValue.path !== this.$route.path) return;
                    return newValue;
                }
            },
            init_tableData2() {
                return this.$store.getters.init.tableData2;
            },
            doInittableData2: {
                get: function () {
                    if (this.$store.getters.init === null) return [];
                    if (this.$store.getters.init.path !== this.$route.path) return;
                    return this.$store.getters.init.tableData2;
                },
                set: function (newValue) {
                    if (newValue.path !== this.$route.path) return;
                    return newValue;
                }
            },
            init_tableData3() {
                return this.$store.getters.init.tableData3;
            },
            doInittableData3: {
                get: function () {
                    if (this.$store.getters.init === null) return [];
                    if (this.$store.getters.init.path !== this.$route.path) return;
                    return this.$store.getters.init.tableData3;
                },
                set: function (newValue) {
                    if (newValue.path !== this.$route.path) return;
                    return newValue;
                }
            },

        },
        created() {
            let param = {
                path: this.$route.path,
                codeTypes:this.codeTypes,
                form:this.form,
                tableData:this.tableData,
                tableData3:this.tableData3,
                tableData4:this.tableData4,
                tableData5:this.tableData5,
                tableData6:this.tableData6,
                tableData7:this.tableData7

            };
            this.$store.dispatch('SET_INIT', param);
        },
        watch: {
            init_formData: {
                handler(value) {
                    if (value == undefined) return;
                    this.getformData(value);
                },
                deep: true
            },
            doInitformData: {
                handler(value) {
                    if (value == undefined) return;
                    this.getformData(value);
                },
                deep: true
            },
            doInittableData1: {
                handler(value) {
                    if (value == undefined) return;
                    this.gettableData1(value);
                },
                deep: true
            },
            doInittableData2: {
                handler(value) {
                    if (value == undefined) return;
                    this.gettableData2(value);
                },
                deep: true
            },
            doInittableData3: {
                handler(value) {
                    if (value == undefined) return;
                    this.gettableData3(value);
                },
                deep: true
            },

            backFun: {
                handler(value) {
                    if (value === null) return;
                    this.customBackFun();
                    let backFun = [];
                    backFun = value.split(',');
                    if (backFun.indexOf('rDoInit') >= 0) {
                        let codeTypes = {

                        };
                        let form = {
                            aic160: {
                                value: '',
                                p: 'R'
                            },
                            aae146: {
                                key: '',
                                value: '',
                                p: 'R'
                            },
                            ljnx: {
                                value: '',
                                p: 'D'
                            },
                            aae160: {
                                key: '',
                                value: '',
                                p: 'R'
                            },
                            aae201: {
                                value: '',
                                p: 'D'
                            },
                            aae200: {
                                value: '',
                                p: 'D'
                            },
                            aae160: {
                                key: '',
                                value: '',
                                p: 'D'
                            },
                            aae201: {
                                value: '',
                                p: 'D'
                            },
                            aae200: {
                                value: '',
                                p: 'D'
                            },
                            aic167: {
                                value: '',
                                p: 'D'
                            },
                            aic166: {
                                value: '',
                                p: 'D'
                            },
                            bic119: {
                                key: '',
                                value: '',
                                p: 'R'
                            },
                            bic121: {
                                key: '',
                                value: '',
                                p: 'R'
                            },
                            bic120: {
                                key: '',
                                value: '',
                                p: 'R'
                            },
                            bic126: {
                                value: '',
                                p: 'D'
                            },
                            bic122: {
                                value: '',
                                p: 'R'
                            },
                            bic123: {
                                value: '',
                                p: 'R'
                            },
                            bic124: {
                                value: '',
                                p: 'R'
                            },
                            bic125: {
                                value: '',
                                p: 'R'
                            },
                            aae007: {
                                value: '',
                                p: 'R'
                            },
                            bic127: {
                                value: '',
                                p: 'R'
                            },

                        };
                        let tableData= [];
                        let tableData3= [];
                        let tableData4= [];
                        let tableData5= [];
                        let tableData6= [];
                        let tableData7= [];

                        let param = {
                            path: this.$route.path,
                            codeTypes:codeTypes,
                            form:form,
                            tableData:tableData,
                            tableData3:tableData3,
                            tableData4:tableData4,
                            tableData5:tableData5,
                            tableData6:tableData6,
                            tableData7:tableData7

                        };
                        this.$store.dispatch('SET_INIT', param);
                    }
                }
            }
        },
        methods: {
            getformData(value) {
                this.form = value;
            },
            gettableData1(value) {
                this.tableData1 = value;
            },
            gettableData2(value) {
                this.tableData2 = value;
            },
            gettableData3(value) {
                this.tableData3 = value;
            },

            handleSizeChange(val) {
                console.log(`每页 ${val} 条`);
            },
            handleCurrentChange(val) {
                console.log(`当前页: ${val}`);
            },
            handleEdit(id) {
                this.dialogFormVisible = true;
            },
            customBackFun(){//自定义方法体
            },
        },
    }
</script>
